package com.leiqichao.backend.service;

import com.leiqichao.backend.common.Page;
import com.leiqichao.backend.entity.LeaveMessage;

import java.util.Map;

public interface LeaveMessageService {

    public Map<String, Object> saveleaveMessage(LeaveMessage leaveMessage);

    public boolean update(LeaveMessage leaveMessage);

    public boolean remove(String id);

    public LeaveMessage get(String id);

    Page getAllLeaveMessages(Page<LeaveMessage> page);
}
